﻿<phone:PhoneApplicationPage 
    x:Class="YiDingCanWp7.SettingsPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    <phone:PhoneApplicationPage.Resources>
        <Style x:Key="SettingNavStyle" TargetType="HyperlinkButton">
            <Setter Property="Margin" Value="0,0,0,0"/>
            <Setter Property="Height" Value="100"/>
            <Setter Property="Width" Value="467"/>
            <Setter Property="FontSize" Value="32"/>
        </Style>
    </phone:PhoneApplicationPage.Resources>
    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="PanoramaBackground.png" Stretch="UniformToFill" />
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="设置" Style="{StaticResource CustomPhoneTextTitleStyle}" Height="60" Width="467" FontSize="50"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <ScrollViewer Height="625" HorizontalAlignment="Left" Margin="12,24,0,0" Name="scrollViewer1" VerticalAlignment="Top" Width="438">
                <StackPanel>
                    <HyperlinkButton Foreground="Gray" Style="{StaticResource SettingNavStyle}" Click="MaketplaceReview_Click" Name="MaketplaceReview" Content="给易订餐评分" />
                    <HyperlinkButton Foreground="Gray" Style="{StaticResource SettingNavStyle}" Content="帮助与反馈" NavigateUri="/AppFeedback.xaml" />
                    <HyperlinkButton Foreground="Gray" Style="{StaticResource SettingNavStyle}" Content="关于易订餐" NavigateUri="/AboutApp.xaml"  />
                    <Button Foreground="Gray" Content="退出登陆" Height="71" Name="button_Logout" Width="160" Click="button_Logout_Click" Margin="0,22,0,0" />
                </StackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
 
    <!--演示 ApplicationBar 用法的示例代码-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="按钮 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="按钮 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="菜单项 1"/>
                <shell:ApplicationBarMenuItem Text="菜单项 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
